package com.aerospace.model;

import java.io.File;

/**
 * @ClassName PathUtils
 * @Description TODO
 * @Author Aero
 * @Date 2019/10/7 16:57
 * @Version 1.0
 **/
public class PathUtils {
//    public final static String USER_PATH = PathUtils.class.getResource("/").toString().substring(6);;
//    public final static String USER_PATH = System.getProperty("user.dir");
//    public static String RESOURCES_PATH = USER_PATH + File.separator + "resources";
    public static String RESOURCES_PATH = PathUtils.class.getResource("/sources").toString().substring(6);
//    public static String RESOURCES_PATH = USER_PATH+"/src/main/resources/sources";
//    public final static String LYRIC_PATH = USER_PATH + File.separator + "resources" + File.separator + "lyric";
//    public final static String LYRIC_PATH = File.separator + "sources" + File.separator + "lyric";
    public final static String LYRIC_PATH = PathUtils.class.getResource("/sources/lyric").toString().substring(6);

}
